package com.datatypes;

public class Log {

	private boolean track_op = false;
	private boolean sync_activity = false;
	private long trackID = 0;
	private String activityID = "";
	private boolean post = false;

	/* track op true = sync, false = delete */
	public Log(long trackID, boolean op) {
		this.trackID = trackID;
		this.setTrack_op(op);
	}

	/* activity sync */
	public Log(String activityID, boolean syncActivity) {
		this.activityID = activityID;
		this.sync_activity = syncActivity;
	}
	
	/* post sync */
	public Log(long trackID) {
		this.trackID = trackID;
		this.post = true;
	}

	public boolean isSync_activity() {
		return sync_activity;
	}

	public void setSync_activity(boolean sync_activity) {
		this.sync_activity = sync_activity;
	}

	public long getTrackID() {
		return trackID;
	}

	public void setTrackID(long trackID) {
		this.trackID = trackID;
	}

	public String getActivityID() {
		return activityID;
	}

	public void setActivityID(String activityID) {
		this.activityID = activityID;
	}

	public boolean isTrack_op() {
		return track_op;
	}

	public void setTrack_op(boolean track_op) {
		this.track_op = track_op;
	}

	public boolean isPost() {
		return post;
	}

	public void setPost(boolean post) {
		this.post = post;
	}

}
